FSpGetFInfo
FSpGetFInfo Get Finder information
#include <Files.h> File Manager
OSErr FSpGetFInfo(spec, fndrInfo);
FSSpec *spec; a pointer to an FSSpec record
FInfo *fndrInfo ; points to the finder information
returns Error Code; 0=no error
The FSpGetFInfo function returns the Finder information from the volume
catalog entry for the specified file or directory. It provides only the original
Finder information-the FInfo and DInfo records, not FXInfo and DXInfo
spec is a pointer to an FSSpec record specifying the file to be opened
fndrInfo identifies the the original Finder information-the FInfo and DInfo
records
Returns: an operating system Error Code. It will be one of:
noErr (0) No error
bdNamErr (-37) Bad name
dirNFErr (-120) Directory not found
extFSErr (-58) External file system
fnfErr (-43) File not found
ioErr (-36) I/O error
nsvErr (-35) No such volume
paramErr (-50) Error in user parameter list

Notes: The FSpGetFInfo function is the high-level, FSSpec version of the
PBHGetFInfo function.